﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QuShuiKXXWH.aspx.cs" Inherits="Web.Pages.QuShui.DiXiaS.YongHuGL.QuShuiKXXWH" Theme="Default"%>


<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script src="../../../../JS/jquery.js"></script>
    <script src="../../../../JS/AddEditCancel.js" type="text/javascript"></script>
    <style type="text/css">
        td {
         white-space:nowrap;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="tabletitle1" align="center">
            取水口信息维护
        </div>
        <asp:UpdatePanel runat="server" ID="updatePanel1">
            <ContentTemplate>
                <div style="border: 0px solid #4486a9; width: 99%;">
                    <div style="width: 80%; margin: auto;">
                        <fieldset style="border: 1px solid  #d0e4fe;">
                            <asp:Panel ID="panEdit" runat="server">
                                <legend style="font-weight: bold"></legend>
                                <table border="0" style="margin: auto; width: 100%">
                                    <tr>
                                        <td style="text-align: right;">用户号：
                                        </td>
                                        <td >
                                            <dx:ASPxTextBox ID="txtYongHuH" ClientInstanceName="txtYongHuH" runat="server" Width="60%"  ClientEnabled="false">
                                                <%--<ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;if( key==13){btnSearch.onClick();}}" />--%>
                                            </dx:ASPxTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right">用户名：
                                        </td>
                                        <td colspan="3">
                                            <dx:ASPxTextBox ID="txtYONGHUM" ClientInstanceName="txtYONGHUM" runat="server" Width="80%" ClientEnabled="false">
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(txtQuShuiKBH);}" />
                                            </dx:ASPxTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: right;">取水口编号：
                                        </td>
                                        <td>
                                            <dx:ASPxTextBox ID="txtQuShuiKBH" ClientInstanceName="txtQuShuiKBH" runat="server" Width="60%">
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(txtQuShuiBPH);}" />
                                            </dx:ASPxTextBox> 
                                        </td>
                                        <td style="text-align: right">取水标牌号：
                                        </td>
                                        <td>
                                            <dx:ASPxTextBox ID="txtQuShuiBPH" ClientInstanceName="txtQuShuiBPH" runat="server" Width="60%">
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(txtQuShuiDD);}" />
                                            </dx:ASPxTextBox>
                                        </td>
                                    </tr>
                                     <tr>
                                        <td style="text-align: right">取水地点：
                                        </td>
                                        <td colspan="3">
                                            <dx:ASPxTextBox ID="txtQuShuiDD" ClientInstanceName="txtQuShuiDD" runat="server" Width="80%">
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(txtTuiShuiWZ);}" />
                                            </dx:ASPxTextBox>
                                        </td>
                                    </tr> 
                                     <tr>
                                        <td style="text-align: right">退水位置：
                                        </td>
                                        <td colspan="3">
                                            <dx:ASPxTextBox ID="txtTuiShuiWZ" ClientInstanceName="txtTuiShuiWZ" runat="server" Width="80%">
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(cmbXingZhengQ);}" />
                                            </dx:ASPxTextBox>
                                        </td>
                                    </tr>   
                                    <tr>
                                        <td style="text-align: right">行政区：
                                        </td>
                                        <td>
                                            <dx:ASPxComboBox ID="cmbXingZhengQ" ClientInstanceName="cmbXingZhengQ" runat="server" ValueType="System.String" Width="60%">
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(cmbLiuYu);}" />
                                            </dx:ASPxComboBox>
                                        </td>
                                        <td style="text-align: right">流域：
                                        </td>
                                        <td>
                                            <dx:ASPxComboBox ID="cmbLiuYu" ClientInstanceName="cmbLiuYu" runat="server" ValueType="System.String" Width="60%">
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(cmbShuiZiYFQ);}" />
                                            </dx:ASPxComboBox>
                                        </td>
                                    </tr>
                                    <tr>
                                          <td style="text-align: right">水资源分区：
                                        </td>
                                        <td>
                                            <dx:ASPxComboBox ID="cmbShuiZiYFQ" ClientInstanceName="cmbShuiZiYFQ" runat="server" ValueType="System.String" Width="60%">
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(cmbShuiLiFP);}" />
                                            </dx:ASPxComboBox>
                                        </td> 
                                        <td style="text-align: right">水利分片：
                                        </td>
                                        <td>
                                            <dx:ASPxComboBox ID="cmbShuiLiFP" ClientInstanceName="cmbShuiLiFP" runat="server" ValueType="System.String" Width="60%">
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(cmbQuShuiLX);}"  />
                                            </dx:ASPxComboBox>
                                        </td>
                                    </tr>
                                     <tr>
                                        <td style="text-align: right;">取水类型：
                                        </td>
                                        <td>
                                            <dx:ASPxComboBox ID="cmbQuShuiLX" ClientInstanceName="cmbQuShuiLX" runat="server" Width="60%">
                                                 <Items>
                                                    <dx:ListEditItem  Text="" Value="0"/>
                                                    <dx:ListEditItem  Text="江河" Value="1"/>
                                                    <dx:ListEditItem  Text="湖泊" Value="2"/>
                                                </Items>
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(txtQuShuiKM);}" />
                                            </dx:ASPxComboBox> 
                                        </td>
                                        <td style="text-align: right">取水口名：
                                        </td>
                                        <td>
                                            <dx:ASPxTextBox ID="txtQuShuiKM" ClientInstanceName="txtQuShuiKM" runat="server" Width="60%">
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(txtDu);}" />
                                            </dx:ASPxTextBox>
                                        </td>
                                    </tr>  
                                    <tr>
                                        <td style="text-align: right">坐标值:</td>
                                        <td colspan="3">
                                            <table>
                                                <tr>
                                                    <td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
                                                    <td>经度：</td>
                                                    
                                                    <td style="width:60px;">
                                                        <dx:ASPxTextBox ID="txtDu" ClientInstanceName="txtDu" runat="server" Width="100%">
                                                            <ClientSideEvents KeyPress="function(s,e){OnKeyNext(txtFen);}" />
                                                        </dx:ASPxTextBox>
                                                    </td>
                                                    <td>度</td>
                                                    
                                                    <td style="width:60px">
                                                        <dx:ASPxTextBox ID="txtFen" ClientInstanceName="txtFen" runat="server" Width="100%">
                                                            <ClientSideEvents KeyPress="function(s,e){OnKeyNext(txtMiao);}" />
                                                        </dx:ASPxTextBox>
                                                    </td>
                                                    <td>分</td>
                                                    
                                                    <td style="width:60px">
                                                        <dx:ASPxTextBox ID="txtMiao" ClientInstanceName="txtMiao" runat="server" Width="100%">
                                                            <ClientSideEvents KeyPress="function(s,e){OnKeyNext(txtDu2);}" />
                                                        </dx:ASPxTextBox>
                                                    </td>
                                                    <td>秒</td>
                                                     <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                                                   <td>纬度:</td>
                                                    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                                                    
                                                    <td style="width:60px">
                                                        <dx:ASPxTextBox ID="txtDu2" ClientInstanceName="txtDu2" runat="server" Width="100%" >
                                                            <ClientSideEvents KeyPress="function(s,e){OnKeyNext(txtFen2);}" />
                                                        </dx:ASPxTextBox>
                                                    </td>
                                                    <td>度</td>
                                                    
                                                    <td style="width:60px">
                                                        <dx:ASPxTextBox ID="txtFen2" ClientInstanceName="txtFen2" runat="server" Width="100%" >
                                                            <ClientSideEvents KeyPress="function(s,e){OnKeyNext(txtMiao2);}" />
                                                        </dx:ASPxTextBox>
                                                    </td>
                                                    <td>分</td>
                                                   
                                                    <td style="width:60px">
                                                        <dx:ASPxTextBox ID="txtMiao2" ClientInstanceName="txtMiao2" runat="server" Width="100%" >
                                                            <ClientSideEvents KeyPress="function(s,e){OnKeyNext(txtQuShuiSY);}" />
                                                        </dx:ASPxTextBox>
                                                    </td> 
                                                     <td>秒</td>
                                                </tr>
                                            </table>
                                        </td> 
                                    </tr>
                                     <tr>
                                        <td style="text-align: right">取水水源：
                                        </td>
                                        <td>
                                            <dx:ASPxTextBox ID="txtQuShuiSY" ClientInstanceName="txtQuShuiSY" runat="server"   Width="60%">
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(cmbQuShuiFS);}" />
                                            </dx:ASPxTextBox>
                                        </td>
                                          <td style="text-align: right">取水方式：
                                        </td>
                                        <td>
                                            <dx:ASPxComboBox ID="cmbQuShuiFS" ClientInstanceName="cmbQuShuiFS" runat="server" ValueType="System.String" Width="60%">
                                                <Items>
                                                    <dx:ListEditItem  Text="" Value="0"/>
                                                    <dx:ListEditItem  Text="自取" Value="1"/>
                                                    <dx:ListEditItem  Text="车载" Value="2"/>
                                                </Items>
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(cmbHuanXianBJ);}" />
                                            </dx:ASPxComboBox>
                                        </td> 
                                    </tr> 
                                    <tr>
                                        <td style="text-align: right">环线标记：
                                        </td>
                                        <td>
                                            <dx:ASPxComboBox ID="cmbHuanXianBJ" ClientInstanceName="cmbHuanXianBJ" runat="server" ValueType="System.String" Width="60%">
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(cmbShuiYuanSZ);}" />
                                            </dx:ASPxComboBox>
                                        </td>
                                          <td style="text-align: right">水源水质：
                                        </td>
                                        <td>
                                            <dx:ASPxComboBox ID="cmbShuiYuanSZ" ClientInstanceName="cmbShuiYuanSZ" runat="server" ClientEnabled="false" Width="60%">
                                                 <Items>
                                                    <dx:ListEditItem  Text="" Value="0"/>
                                                    <dx:ListEditItem  Text="优质" Value="1"/>
                                                    <dx:ListEditItem  Text="良" Value="2"/>
                                                </Items>
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(memoSYSZBZ);}" />
                                            </dx:ASPxComboBox>
                                        </td>  
                                    </tr>
                                     <tr>
                                        <td style="text-align: right">水源水质备注：</td>
                                        <td>
                                            <dx:ASPxMemo ID="memoSYSZBZ" ClientInstanceName="memoSYSZBZ" runat="server" Width="60%" ClientEnabled="false">
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(txtBeiZhu);}" />
                                            </dx:ASPxMemo>
                                        </td>
                                    </tr> 
                                    <tr>
                                        <td style="text-align: right">备注：
                                        </td>
                                        <td colspan="3">
                                            <dx:ASPxMemo ID="txtBeiZhu" ClientInstanceName="txtBeiZhu" runat="server" Width="80%">
                                                <ClientSideEvents KeyPress="function(s,e){OnKeyNext(btnSave);}" />
                                            </dx:ASPxMemo>
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                        </fieldset>
                    </div>
                    <div style="text-align: right">
                        <hr />

                        <dx:ASPxButton ID="btnEdit" ClientInstanceName="btnEdit" runat="server" Text="修改" OnClick="btnEdit_Click" UseSubmitBehavior="false" Visible="true">
                        </dx:ASPxButton>
                        <dx:ASPxButton ID="btnSave" ClientInstanceName="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" UseSubmitBehavior="false" Visible="false">
                            <ClientSideEvents Click="function(s, e) {
	                                               if (ASPxClientEdit.ValidateGroup('group')) {                 
                                                                   e.processOnServer = true;             
                                                                } 
                                                                else 
                                                                { 
                                                                   e.processOnServer = false; 
                                                                }
                                                    }" />
                        </dx:ASPxButton>
                        <dx:ASPxButton ID="btnCancel" ClientInstanceName="btnCancel" runat="server" Text="放弃" OnClick="btnCancel_Click" UseSubmitBehavior="false" Visible="false">
                        </dx:ASPxButton>

                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel> 
    </form>
</body>
</html>
